#ifndef __I_CROSSFIRE_OBJECT_H_
#define __I_CROSSFIRE_OBJECT_H_

namespace cfe
{

class ICF_Object
{
protected:
	int refCount;
public:
	void ICF_Object::retain()
	{
		++refCount;
	}
	bool ICF_Object::drop()
	{
		--refCount;
		if(!refCount)
		{
			delete this;
			return false;
		}
		return true;
	}
};

};

#endif